package com.zl.learning.webservice.service;

import javax.xml.ws.Endpoint;

public class JavaService {
    public static void main(String[] args) {
        System.out.println("web Service start");
        HelloWorldImpl implementor = new HelloWorldImpl();
        String address="http://127.0.0.1:81/helloWorld";
        Endpoint.publish(address, implementor);//JDK实现
        System.out.println("web Service started");
    }
}
